function sellerLoadMenu() {
    $.ajax({
        type: "GET",
        contentType: "application/json;charset=UTF-8",
        url: "/seller/menuListJson",
        //数据，json字符串
        //data : JSON.stringify(list),
        //请求成功
        success: function (result) {
            trHTML = "";
            $.each(result, function(lineNumber, rowdata) {
                //alert(rowdata.foodname);
                if (rowdata.foodstatus==1){
                    pass="在售"
                }else{
                    pass="停售"
                }
                trHTML = trHTML +
                    "<tr><td>"+rowdata.id+
                    "</td><td>"+rowdata.foodname+
                    "</td><td>"+rowdata.foodprice+
                    "</td><td>"+pass+
                    //"</td><td><input  type=\"submit\" value=\"停售\" onclick=location.href='/menu/haltsales/haltsales/{Id}/{Status}'>"  +
                    "</td><td><a id='d' href='/menu/haltsales/"+rowdata.id+"/"+rowdata.status+"'>停售</a>"+ "  "+
                    "<a id='d' href='/menu/opensales/"+rowdata.id+"/"+rowdata.status+"'>开售</a>" + "  "+
                    "<a id='d' href='/menu/deletesales/"+rowdata.id+"'>下架</a>" +
                    "</td></tr>"
                    //"</td><td><input type=\"submit\" value=\"更改价格\"> " +
            });
            $('#sellermenuList').append(trHTML);
        },
        //请求失败，包含具体的错误信息
        error: function (e) {
            console.log(e.status);
            console.log(e.responseText);
        }
    });
}